public class AreaTester {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		java.io.PrintStream o = System.out;
		java.awt.Rectangle r = new java.awt.Rectangle();
		r.height = 5;
		r.width = 8;
		r.x=10;
		r.x=0;
		o
				.println("I have created a rectangle and the area should = 40 and perimeter should = 26.");
		o.println("Calculating area and perimeter...");
		o.println("area = "+r.getWidth()*r.getHeight()+" (40)");
		o.println("perimeter = "+2*(r.getWidth()+r.getHeight())+" (26)");
		o.println("location of X = your answer here (10)");
		o.println("location of Y = your answer here (0)");
		o
				.println("Now my rectangle is moving to a new location 20 units in the x direction and 10 units in the y direction.");
		o.println("My new location is X = your answer here (30)");
		o.println("My new location is Y = your answer here (10)");
	}

}